package com.shambles.manage2.service;

import com.github.pagehelper.PageInfo;
import com.shambles.manage2.tkmapper.entity.Cattle;
import com.shambles.manage2.tkmapper.entity.MessageRequestVM;
import com.shambles.manage2.tkmapper.entity.SysLog;

import java.util.Map;

public interface CattleService {
    Map<String, Cattle>getCattleMap();

    /**
     * 添加种类
     */
   void insertCattle(Cattle cattle);

    /**
     * 修改种类
     */
    void updateCattle(Cattle cattle);

    /**
     * 分页查询种类信息
     */
    PageInfo<Cattle> queryCattle(MessageRequestVM messageRequestVM);
}
